Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.webengine.sites.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.webengine.sites.actions inside nuxeo-webengine-sites-6.0.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action enabled="true" icon="/icons/file.gif" id="TAB_WEBVIEW" label="action.webcontainer.preview" link="/incl/tabs/workspace_view.xhtml" order="30" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>isWebContainer</filter-id>
        </action>
  • <action icon="/icons/switch.png" id="webSiteLink" label="label.website.view" link="#{baseURL}site/sites/#{currentDocument.webc.url}" order="-10" type="bare_link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>isWebContainer</filter-id>
          <filter-id>isWebSite</filter-id>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action enabled="true" icon="/icons/file.gif" id="TAB_WEBVIEW" label="action.webcontainer.preview" link="/incl/tabs/workspace_view.xhtml" order="30" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>isWebContainer</filter-id>
    </action>

    <action icon="/icons/switch.png" id="webSiteLink" label="label.website.view" link="#{baseURL}site/sites/#{currentDocument.webc.url}" order="-10" type="bare_link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>isWebContainer</filter-id>
      <filter-id>isWebSite</filter-id>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

  </extension>